home *** CD-ROM | disk | FTP | other *** search
- Path: news.acadia.net!usenet
- From: Nickii Sonnenberg <nickii@aerohydro.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Couple of Visual C++ questions
- Date: Sun, 14 Apr 1996 18:00:38 -0300
- Organization: AeroHydro
- Message-ID: <31716776.A2A@aerohydro.com>
- References: <4knb4s$vl0@news.smart.net>
- NNTP-Posting-Host: bhb25.acadia.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Dave Clausen wrote:
- >
- > Hi! I have a few 16 bit Visual C++ questions. Any help would be very
- > much appreciated.
- >
- > 1. I want a dialog which is like CFileDialog, except that it ONLY allows
- > the user to select a directory (not a file). This type of dialog is
- > useful for allowing the user to select the destination directory where a
- > softwarer package will be installed. Any hints as to where I should start?
- >
-
- I did this by using the CFileDialog and hiding the file related controls. One trick is you have to
- have a file name (valid or not) in order for the dialog to close. You supply this (via code) to the
- control as neccessary for correct behavior. Let me know if you need any more direction on this.
- -Nickii Sonnenberg, Software Developer
-